<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- 静态包含 --%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>约见编辑-有点</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript">
	function delete1()
	{
	var res=window.confirm("您确定要删除吗？");
	return res;
	}
</script>
</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
					href="#">用户管理</a>&nbsp;-</span>&nbsp;用户查询
			</div>
		</div>
		<div class="page">
			<!-- user页面样式 -->
			<div class="connoisseur">
				<div class="conform">
					<form action="${rootPath}/queryadmins.html" method="post">
						<div class="cfD">
							<input name="password" class="userinput vpr" type="text"
								placeholder="输入用户密码" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; <input
								name="profession" class="userinput vpr" type="text"
								placeholder="输入职位" /><br />
							<br />
							<br /> <input name="phone" class="userinput vpr" type="text"
								placeholder="输入联系电话" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; <input
								name="identity" class="userinput vpr" type="text"
								placeholder="输入身份证" /><br />
							<br />
							<br /> <input name="address" class="userinput vpr" type="text"
								placeholder="输入地址" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; <input
								name="email" class="userinput vpr" type="text"
								placeholder="输入登录名" /><br />
							<br />
							<br /> <select name="sex">
								<option>请选择性别</option>
								<option value="1" ${requestScope.gender == '1' ? 'selected' : ''}>男</option>
								<option value="2" ${requestScope.gender == '2' ? 'selected' : ''}>女</option>
							</select>&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input
								name="name" class="userinput vpr" type="text" placeholder="输入姓名" />&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;<br />
							<br />
							<br />
							<button type="submit" class="userbtn">查询</button>
						</div>
					</form>
				</div>
				<!-- user 表格 显示 end-->
			</div>
			<!-- user页面样式end -->
		</div>
		<div class="conShow">
			<table border="1" cellspacing="0" cellpadding="0">
				<tr>
					<td width="66px" class="tdColor tdC">序号</td>
					<td width="355px" class="tdColor">登录名</td>
					<td width="260px" class="tdColor">身份证</td>
					<td width="275px" class="tdColor">姓名</td>
					<td width="290px" class="tdColor">性别</td>
					<td width="290px" class="tdColor">职位</td>
					<td width="130px" class="tdColor">操作</td>
				</tr>
				<c:forEach items="${requestScope.adminsList}" var="admins"
					varStatus="stat">
					<tr>
						<td width="66px" class="tdColor tdC">${stat.count}</td>
						<td width="355px" class="tdColor">${admins.email}</td>
						<td width="260px" class="tdColor">${admins.identity}</td>
						<td width="275px" class="tdColor">${admins.name}</td>
						<td width="290px" class="tdColor">${admins.sex == '1' ? '男' : '女'}</td>
						<td width="290px" class="tdColor">${admins.profession}</td>
						<td> <a href="${rootPath }/deleteaddmins.html?identity=${admins.identity}" onclick='return delete1()><img class="operation delban" src="img/delete.png"></a></td>
					</tr>
				</c:forEach>
			</table>
			<div class="paging">此处是分页</div>
		</div>
	</div>
</body>
</html>